import axios from '@/libs/api.request'
// 保存活动总结
export const addActivitySummary = (data) => {
  return axios.request({
    url: '/api/us/csc/auditmail/addActivitySummary',
    data: data,
    method: 'post'

  })
}
// 保存活动总结
export const SaveActivitySummary = (data) => {
  return axios.request({
    url: '/api/ac/csc/ActivitySummarySaveService/SaveActivitySummary',
    data: data,
    method: 'post'
  })
}
// 修改策划状态
export const updateActivitySummary = (data) => {
  return axios.request({
    url: '/api/us/csc/auditmail/updateActivitySummary',
    data: data,
    method: 'post'
  })
}
// 查看策划详情
export const getViewAllDetailsList = (data) => {
  return axios.request({
    url: '/api/us/csc/auditmail/getViewAllDetailsList',
    data: data,
    method: 'post'
  })
}
// 上传图片
export const objectToOss = (data) => {
  return axios.request({
    url: 'Api/Api/upBase64ToOss',
    data: data,
    php: true,
    // headers: { 'Content-Type': 'multipart/form-data;' },
    type: 'post'
  })
}
// 提交活动总结
export const getActivityPlanning = (data) => {
  return axios.request({
    url: '/api/ac/csc/ActivitySummarySubmitService/getActivityPlanning',
    data: data,
    method: 'post'
  })
}
// 查询活动总结列表
export const getActivitySummaryList = (data) => {
  return axios.request({
    url: '/api/as/csc/auditmail/getActivitySummaryList',
    data: data,
    method: 'post'
  })
}
